<% form_tag session_path do -%>
<p><label for="login">账号</label><br/>
<%= text_field_tag 'login' %></p>

<p><label for="password">密码</label><br/>
<%= password_field_tag 'password' %></p>

<!-- Uncomment this if you want this functionality-->
<p><label for="remember_me">保存登录:</label>
<%= check_box_tag 'remember_me' %></p>


<p><%= submit_tag 'Log in' %></p>
<a href="/users/new">注册</a>
<% end -%>